Skip to content

Add timeout parameter for connect_args#81

Open
junfan wants to merge 1 commit into
cloudflare:masterfrom
junfan:master
Open

Add timeout parameter for connect_args#81
junfan wants to merge 1 commit into
cloudflare:masterfrom
junfan:master

Conversation

@junfan
Copy link
Copy Markdown

@junfan junfan commented Dec 15, 2021

fix the error that can not set the timeout for the connect_args

>> engine = create_engine('clickhouse://default:@localhost:8123/default', connect_args=={"timeout":180})
TypeError: __init__() got an unexpected keyword argument 'timeout'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant